﻿package game.constants 
{
	/**
	 * ...
	 * @author Doan Nguyen Thuy Nha Truc (Bamboo)
	 * @author Nguyen Thi Bich Phuong (Daisy)
	 */
	public class ConstData	{
		public static const POS_SUCCESS_RESULT:int = 0;
		public static const LEN_SUCCESS_RESULT:int = 1;
		public static const SUCCESS_RESULT:int = 0;
		
		public static const POS_MEMBERBETINFO_CREDIT:int = 21;
		public static const LEN_MEMBERBETINFO_CREDIT:int = 9;
		
		public static const POS_MEMBERCOMMISSION_RATIO:int = 9;
		public static const LEN_MEMBERCOMMISSION_RATIO:int = 10;
		
		public static const POS_MEMBERLIMIT_UPPER:int = 2;
		public static const LEN_MEMBERLIMIT_UPPER:int = 9;
		
		public static const POS_MEMBERLIMIT_LOWER:int = 11;
		public static const LEN_MEMBERLIMIT_LOWER:int = 9;
		
		public static const POS_NUMCHIP:int = 20;
		public static const LEN_NUMCHIP:int = 1;
		public static const LEN_NUMCHIPAMT:int = 7;
		public static const TOTAL_NUMCHIP = 7;
		
		public static const POS_MEMBER_BETLTDSEQ:int = 70;
		public static const LEN_MEMBER_BETLTDSEQ:int = 4;
		
		public static const POS_BETSTATUS_TABLENAME:int = 1;
		public static const LEN_BETSTATUS_TABLENAME:int = 20;
		
		public static const POS_BETSTATUS_GAMESET:int = 21;
		public static const LEN_BETSTATUS_GAMESET:int = 4;
		
		public static const POS_BETSTATUS_GAMENO:int = 25;
		public static const LEN_BETSTATUS_GAMENO:int = 3;
		
		public static const POS_BETSTATUS_STATUS:int = 28;
		public static const LEN_BETSTATUS_STATUS:int = 10;
		
		public static const POS_LBPGAME_BANKER:int = 38;
		public static const LEN_LBPGAME_BANKER:int = 2;
		public static const POS_LBPGAME_PLAYER:int = 40;
		public static const LEN_LBPGAME_PLAYER:int = 2;		
		public static const POS_LBPGAME_TIE:int = 42;
		public static const LEN_LBPGAME_TIE:int = 2;
		public static const POS_LBPGAME_BANKERPAIR:int = 44;;
		public static const LEN_LBPGAME_BANKERPAIR:int = 2;
		public static const POS_LBPGAME_PLAYERPAIR:int = 46;
		public static const LEN_LBPGAME_PLAYERPAIR:int = 2;			
		public static const POS_LBPGAME_BIG:int = 48;
		public static const LEN_LBPGAME_BIG:int = 2;
		public static const POS_LBPGAME_SMALL:int = 50;
		public static const LEN_LBPGAME_SMALL:int = 2;
		
		public static const POS_LBPGAME_DRAGON:int = 38;
		public static const LEN_LBPGAME_DRAGON:int = 2;
		public static const POS_LBPGAME_TIGER:int = 40;
		public static const LEN_LBPGAME_TIGER:int = 2;				

		public static const POS_LBPUSER_PUBLIC = 1;
		public static const LEN_LBPUSER_PUBLIC = 9;

		public static const POS_HIS_RESULT:int = 52;
		public static const LEN_NUM_HIS:int = 3;
		public static const LEN_VALUE_HIS:int = 2;
		public static const LEN_HIS_ROUTE:int = 4;
		public static const LEN_CODE:int = 3;
		
		public static const ASK_PLAYER_BANKER_TYPE_1:String = "1";
		public static const ASK_PLAYER_BANKER_TYPE_2:String = "2";
		public static const ASK_TYPE_N:String = "N";
		public static const ASK_TYPE_Y:String = "Y";
		public static const POS_BETSTART_GAMESET:int = 1;
		public static const LEN_GAMESET:int = 4;
		public static const POS_BETSTART_GAMENO:int = 5 
		public static const LEN_GAMENO:int = 3;
		public static const LEN_SUCCESS_BIT:int = 14;		
		public static const TIME_OUT_MESSAGE:int = 4000;
		public static const LEN_NAME_ROOM_BAC:int = 6;
		public static const GAME_TYPE_BAC:String = "BAC";
		public static const GAME_TYPE_BAC3:String = "BAC3";
		public static const GAME_TYPE_SICBO:String = "SICBO";
		public static const GAME_TYPE_ROULETTE:String = "ROULETTE";
		public static const GAME_TYPE_DT:String = "DRAGON_TIGER";
		public static const GAME_TYPE_SEDIE:String = "SEDIE";
		public static const GAME_TYPE_FANTAN:String = "FANTAN";
		public static const POS_SEDIE_RESULT:int = 1;
		public static const LEN_SEDIE_RESULT:int = 1;
		public function ConstData() {}		
	}
}

